package com.ruoyi.prod.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author BaiBan
 * @since 2023/2/25
 */
@Getter
@AllArgsConstructor
public enum UseTargetEnum {

    /**
     * 部门
     */
    DEPARTMENT ("1", "部门"),

    /**
     * 个人
     */
    INDIVIDUAL("2", "个人");

    @EnumValue
    private final String code;

    @JsonValue
    private final String label;
}

